freeslot("MT_BSFX", "sfx_boost")
sfxinfo[sfx_boost].caption = "Boost!"

addHook("PlayerThink", function(player)
if player.mo.skin == "jasonfox" and player.mo.valid then
	if player.boosting then
		local mobj = player.mo
		if not player.aura or not player.aura.valid then
			player.aura = P_SpawnMobj(mobj.x, mobj.y, mobj.z, MT_BSFX)
		    S_StartSound(player.mo, sfx_boost, player)
		end
		player.aura.color = player.mo.color
		player.aura.angle = player.momangle2
		player.aura.target = player.mo
		player.aura.tracer = player.mo
		player.aura.scale = player.mo.scale
		player.aura.blendmode = AST_ADD
		if not (player.aura.flags2 & MF2_LINKDRAW) then
			player.aura.flags2 = $|MF2_LINKDRAW
		end
	elseif player.aura then
		if player.aura.valid then
			P_RemoveMobj(player.aura)
		end
		player.aura = nil
	end 
 end	
end)